TouchGFX
+ 0/4 examples
CodeScope will show references to
touchgfx::colortype::operator unsigned short() const
from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
TouchGFX
STM32469I_EVAL
Demonstrations
TouchGFX
STM324x9I_EVAL
Demonstrations
TouchGFX
STM32F429I-Discovery
Demonstrations
TouchGFX
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
touchgfx::colortype::operator unsigned short() const
touchgfx::colortype::operator unsigned short() const
@fn operator uint16_t() const Cast that converts the given colortype to an uint16_t. Cast that converts the given colortype to an uint16_t. Provided only for backward compatibility. Not recommended to use.
Syntax
from
Types.hpp:132
operator
uint16_t
(
)
const
;
Examples
touchgfx::colortype::operator unsigned short() const
is referenced by
4 libraries and example projects
.
References
Location
Referrer
Scope
Text
Types.hpp:132
operator
uint16_t
(
)
const
Color.hpp:70
touchgfx::Color::getRedColor()
touchgfx::Color
return
bitDepth
==
16
?
(
(
color
&
0xF800
)
>
>
8
)
:
bitDepth
==
24
?
(
(
color
.
getColor32
(
)
>
>
16
)
&
0xFF
)
:
bitDepth
==
4
?
(
(
color
&
0xF
)
*
0x11
)
:
bitDepth
==
2
?
(
(
color
&
0x3
)
*
0x55
)
:
0
;
Color.hpp:87
touchgfx::Color::getGreenColor()
touchgfx::Color
return
bitDepth
==
16
?
(
(
color
&
0x07E0
)
>
>
3
)
:
bitDepth
==
24
?
(
(
color
.
getColor32
(
)
>
>
8
)
&
0xFF
)
:
bitDepth
==
4
?
(
(
color
&
0xF
)
*
0x11
)
:
bitDepth
==
2
?
(
(
color
&
0x3
)
*
0x55
)
:
0
;
Color.hpp:104
touchgfx::Color::getBlueColor()
touchgfx::Color
return
bitDepth
==
16
?
(
(
color
&
0x001F
)
<
<
3
)
:
bitDepth
==
24
?
(
color
.
getColor32
(
)
&
0xFF
)
:
bitDepth
==
4
?
(
(
color
&
0xF
)
*
0x11
)
:
bitDepth
==
2
?
(
(
color
&
0x3
)
*
0x55
)
:
0
;
Call Tree
Functions calling
touchgfx::colortype::operator unsigned short() const
touchgfx::Color::getRedColor()
touchgfx::Color::getGreenColor()
touchgfx::Color::getBlueColor()
all items filtered out
touchgfx::colortype::operator unsigned short() const
Functions writing
touchgfx::colortype::operator unsigned short() const
touchgfx::colortype::color
all items filtered out
touchgfx::colortype::operator unsigned short() const
Type of
touchgfx::colortype::operator unsigned short() const
touchgfx::colortype::operator unsigned short() const
uint16_t
all items filtered out